/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package east2west.service;

import east2west.dao.JobDAO;
import east2west.dto.JobDTO;
import java.util.ArrayList;

/**
 *
 * @author anhtuan
 */
public class JobService {

    JobDAO dao = new JobDAO();

    public ArrayList<JobDTO> readByAll() {
        return dao.readByAll();
    }

    public JobDTO findById(int id) {
        return dao.findById(id);
    }
}
